package com.bestcem.xm.ticket.enums;

import lombok.Getter;

/**
 * @author liheng
 * @version v1.0
 * @date 2021/8/20 15:56
 */
@Getter
public enum UserStatusEnum {

    /**
     * CREATED
     */
    CREATED(0, "激活中"),

    /**
     * ACTIVATED
     */
    ACTIVATED(1, "活动的"),

    /**
     * INACTIVATED
     */
    INACTIVATED(2, "禁用的");

    private final String name;
    private final int index;


    UserStatusEnum(Integer index, String name) {
        this.name = name;
        this.index = index;
    }
}
